home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectDraw / Multimon / multimon.mak < prev    next >
Encoding:
Text File  |  2001-10-08  |  5.3 KB  |  221 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Based on multimon.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=multimon - Win32 Debug
  4. !MESSAGE No configuration specified. Defaulting to multimon - Win32 Debug.
  5. !ENDIF 
  6.  
  7. !IF "$(CFG)" != "multimon - Win32 Release" && "$(CFG)" != "multimon - Win32 Debug"
  8. !MESSAGE Invalid configuration "$(CFG)" specified.
  9. !MESSAGE You can specify a configuration when running NMAKE
  10. !MESSAGE by defining the macro CFG on the command line. For example:
  11. !MESSAGE 
  12. !MESSAGE NMAKE /f "multimon.mak" CFG="multimon - Win32 Debug"
  13. !MESSAGE 
  14. !MESSAGE Possible choices for configuration are:
  15. !MESSAGE 
  16. !MESSAGE "multimon - Win32 Release" (based on "Win32 (x86) Application")
  17. !MESSAGE "multimon - Win32 Debug" (based on "Win32 (x86) Application")
  18. !MESSAGE 
  19. !ERROR An invalid configuration is specified.
  20. !ENDIF 
  21.  
  22. !IF "$(OS)" == "Windows_NT"
  23. NULL=
  24. !ELSE 
  25. NULL=nul
  26. !ENDIF 
  27.  
  28. !IF  "$(CFG)" == "multimon - Win32 Release"
  29.  
  30. OUTDIR=.\Release
  31. INTDIR=.\Release
  32. # Begin Custom Macros
  33. OutDir=.\Release
  34. # End Custom Macros
  35.  
  36. ALL : "$(OUTDIR)\multimon.exe"
  37.  
  38.  
  39. CLEAN :
  40.     -@erase "$(INTDIR)\multimon.obj"
  41.     -@erase "$(INTDIR)\multimon.res"
  42.     -@erase "$(INTDIR)\vc60.idb"
  43.     -@erase "$(OUTDIR)\multimon.exe"
  44.  
  45. "$(OUTDIR)" :
  46.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  47.  
  48. CPP=cl.exe
  49. CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\common\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"$(INTDIR)\multimon.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  50.  
  51. .c{$(INTDIR)}.obj::
  52.    $(CPP) @<<
  53.    $(CPP_PROJ) $< 
  54. <<
  55.  
  56. .cpp{$(INTDIR)}.obj::
  57.    $(CPP) @<<
  58.    $(CPP_PROJ) $< 
  59. <<
  60.  
  61. .cxx{$(INTDIR)}.obj::
  62.    $(CPP) @<<
  63.    $(CPP_PROJ) $< 
  64. <<
  65.  
  66. .c{$(INTDIR)}.sbr::
  67.    $(CPP) @<<
  68.    $(CPP_PROJ) $< 
  69. <<
  70.  
  71. .cpp{$(INTDIR)}.sbr::
  72.    $(CPP) @<<
  73.    $(CPP_PROJ) $< 
  74. <<
  75.  
  76. .cxx{$(INTDIR)}.sbr::
  77.    $(CPP) @<<
  78.    $(CPP_PROJ) $< 
  79. <<
  80.  
  81. MTL=midl.exe
  82. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  83. RSC=rc.exe
  84. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\multimon.res" /d "NDEBUG" 
  85. BSC32=bscmake.exe
  86. BSC32_FLAGS=/nologo /o"$(OUTDIR)\multimon.bsc" 
  87. BSC32_SBRS= \
  88.     
  89. LINK32=link.exe
  90. LINK32_FLAGS=dxguid.lib odbc32.lib odbccp32.lib dxerr8.lib ddraw.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\multimon.pdb" /machine:I386 /out:"$(OUTDIR)\multimon.exe" /stack:0x200000,0x200000
  91. LINK32_OBJS= \
  92.     "$(INTDIR)\multimon.obj" \
  93.     "$(INTDIR)\multimon.res"
  94.  
  95. "$(OUTDIR)\multimon.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  96.     $(LINK32) @<<
  97.   $(LINK32_FLAGS) $(LINK32_OBJS)
  98. <<
  99.  
  100. !ELSEIF  "$(CFG)" == "multimon - Win32 Debug"
  101.  
  102. OUTDIR=.\Debug
  103. INTDIR=.\Debug
  104. # Begin Custom Macros
  105. OutDir=.\Debug
  106. # End Custom Macros
  107.  
  108. ALL : "$(OUTDIR)\multimon.exe" "$(OUTDIR)\multimon.bsc"
  109.  
  110.  
  111. CLEAN :
  112.     -@erase "$(INTDIR)\multimon.obj"
  113.     -@erase "$(INTDIR)\multimon.res"
  114.     -@erase "$(INTDIR)\multimon.sbr"
  115.     -@erase "$(INTDIR)\vc60.idb"
  116.     -@erase "$(INTDIR)\vc60.pdb"
  117.     -@erase "$(OUTDIR)\multimon.bsc"
  118.     -@erase "$(OUTDIR)\multimon.exe"
  119.     -@erase "$(OUTDIR)\multimon.ilk"
  120.     -@erase "$(OUTDIR)\multimon.pdb"
  121.  
  122. "$(OUTDIR)" :
  123.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  124.  
  125. CPP=cl.exe
  126. CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\common\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\multimon.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  127.  
  128. .c{$(INTDIR)}.obj::
  129.    $(CPP) @<<
  130.    $(CPP_PROJ) $< 
  131. <<
  132.  
  133. .cpp{$(INTDIR)}.obj::
  134.    $(CPP) @<<
  135.    $(CPP_PROJ) $< 
  136. <<
  137.  
  138. .cxx{$(INTDIR)}.obj::
  139.    $(CPP) @<<
  140.    $(CPP_PROJ) $< 
  141. <<
  142.  
  143. .c{$(INTDIR)}.sbr::
  144.    $(CPP) @<<
  145.    $(CPP_PROJ) $< 
  146. <<
  147.  
  148. .cpp{$(INTDIR)}.sbr::
  149.    $(CPP) @<<
  150.    $(CPP_PROJ) $< 
  151. <<
  152.  
  153. .cxx{$(INTDIR)}.sbr::
  154.    $(CPP) @<<
  155.    $(CPP_PROJ) $< 
  156. <<
  157.  
  158. MTL=midl.exe
  159. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  160. RSC=rc.exe
  161. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\multimon.res" /d "_DEBUG" 
  162. BSC32=bscmake.exe
  163. BSC32_FLAGS=/nologo /o"$(OUTDIR)\multimon.bsc" 
  164. BSC32_SBRS= \
  165.     "$(INTDIR)\multimon.sbr"
  166.  
  167. "$(OUTDIR)\multimon.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
  168.     $(BSC32) @<<
  169.   $(BSC32_FLAGS) $(BSC32_SBRS)
  170. <<
  171.  
  172. LINK32=link.exe
  173. LINK32_FLAGS=dxguid.lib odbc32.lib odbccp32.lib dxerr8.lib ddraw.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\multimon.pdb" /debug /machine:I386 /out:"$(OUTDIR)\multimon.exe" /pdbtype:sept /stack:0x200000,0x200000
  174. LINK32_OBJS= \
  175.     "$(INTDIR)\multimon.obj" \
  176.     "$(INTDIR)\multimon.res"
  177.  
  178. "$(OUTDIR)\multimon.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  179.     $(LINK32) @<<
  180.   $(LINK32_FLAGS) $(LINK32_OBJS)
  181. <<
  182.  
  183. !ENDIF 
  184.  
  185.  
  186. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  187. !IF EXISTS("multimon.dep")
  188. !INCLUDE "multimon.dep"
  189. !ELSE 
  190. !MESSAGE Warning: cannot find "multimon.dep"
  191. !ENDIF 
  192. !ENDIF 
  193.  
  194.  
  195. !IF "$(CFG)" == "multimon - Win32 Release" || "$(CFG)" == "multimon - Win32 Debug"
  196. SOURCE=.\multimon.cpp
  197.  
  198. !IF  "$(CFG)" == "multimon - Win32 Release"
  199.  
  200.  
  201. "$(INTDIR)\multimon.obj" : $(SOURCE) "$(INTDIR)"
  202.  
  203.  
  204. !ELSEIF  "$(CFG)" == "multimon - Win32 Debug"
  205.  
  206.  
  207. "$(INTDIR)\multimon.obj"    "$(INTDIR)\multimon.sbr" : $(SOURCE) "$(INTDIR)"
  208.  
  209.  
  210. !ENDIF 
  211.  
  212. SOURCE=.\multimon.rc
  213.  
  214. "$(INTDIR)\multimon.res" : $(SOURCE) "$(INTDIR)"
  215.     $(RSC) $(RSC_PROJ) $(SOURCE)
  216.  
  217.  
  218.  
  219. !ENDIF 
  220.  
  221.